import Vue from 'vue'
import Vuex from 'vuex'
import home from './modules/home'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    locationInfo: {},
    goodlist:[]
  },
  mutations: {
    LACATION(state, locationInfo) {
      state.locationInfo = locationInfo
    },
    GOODLIST(state,goodlist){
      state.goodlist=goodlist
    }
  },
  actions: {},

  modules: {
    home
  }
})
